package model.emp;

public class EmpVO {
	private int emp_no;
	private String emp_name;
	private String password;
	private String grade;
	
	public EmpVO() {
		super();
	}

	public EmpVO(int emp_no, String emp_name, String password, String grade) {
		super();
		this.emp_no = emp_no;
		this.emp_name = emp_name;
		this.password = password;
		this.grade = grade;
	}

	public EmpVO(int emp_no, String password) {
		super();
		this.emp_no = emp_no;
		this.password = password;
		//로그인에서 id와 password를 EmpVO에 받아서 DB까지 가져가기 위해 만듦. 
	}

	public int getEmp_no() {
		return emp_no;
	}

	public void setEmp_no(int emp_no) {
		this.emp_no = emp_no;
	}

	public String getEmp_name() {
		return emp_name;
	}

	public void setEmp_name(String emp_name) {
		this.emp_name = emp_name;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public String getGrade() {
		return grade;
	}

	public void setGrade(String grade) {
		this.grade = grade;
	}

	@Override
	public String toString() {
		return "EmpVO [emp_no=" + emp_no + ", emp_name=" + emp_name
				+ ", password=" + password + ", grade=" + grade + "]";
	}
	
	
}
